<!DOCTYPE HTML>
<html lang="zh_CN">
<head>
    <meta charset="utf-8" />
    <title>{eyou:global name='web_name' /}</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <link href="{eyou:global name='web_cmspath'/}/favicon.ico" rel="shortcut icon" type="image/x-icon" />

    <!-- 新样式 2020-12-8 -->
    {eyou:static file="users/skin/css/element/index.css" /}
    {eyou:static file="users/skin/userfont/iconfont.css" /}
    {eyou:static file="users/skin/css/e-user.css" /}
    {eyou:include file="users/skin/css/diy_css.htm"/}

    {eyou:static file="/public/static/common/js/jquery.min.js"/}
    {eyou:static file="users/skin/js/vendor.js"/}
    {eyou:static file="/public/plugins/layer-v3.1.0/layer.js"/}
    {eyou:static file="/public/static/common/js/tag_global.js"/}
</head>

<body>
    <!--头部--->
    <div class="ey-header-status">
        <div class="header-status-l">
            <a href="javascript:history.go(-1)"><i class="el-icon-arrow-left"></i></a>
        </div> 
        <div class="header-status-m">购物车</div> 
        <div class="header-status-r"></div>
    </div><!--头部 end--->
    
    <div class="h50"></div>
    <div class="ey-container">
        <div class="el-row">
            
            <div class="goods-car">
                
                {eyou:spcart id="field" pagesize="5"}
                    <!-- 全选 -->
                    <div class="all-select">
                        <div class="all-select-l">
                            <label class="checkbox-label car-checkbox2">
                                <span>全选</span>
                                <input class="checkbox" type="checkbox" {$field.InputChecked}>
                                <span class="check-mark"></span>
                            </label>
                            {$field.InputHidden}
                        </div>
                        <div class="all-select-r">
                           <a class=" el-button el-button--default is-round  el-button--small" {$field.BatchCartDel}>删除</a>
                        </div>
                    </div>
                     
                    <!-- 获取订单数据列表 -->
                    {eyou:spordergoods id="field2"}
                    <div class="goods-item" {$field2.ProductId}>
                        <div class="goods-item-l">
                            <label class="checkbox-label car-checkbox">
                                <input class="checkbox" type="checkbox" {$field2.CartChecked}>
                                <span class="check-mark"></span>
                            </label>
                            {$field2.hidden}
                        </div>
                        <div class="goods-item-r">
                            <div class="img"><a href="{$field2.arcurl}"><img src="{$field2.litpic}" alt="商品图"></a></div>
                            <div class="info">
                                <div class="title">
                                    <a href="{$field2.arcurl}">
                                        {$field2.title}&nbsp;<span style="color: red;">{$field2.StatusMark}</span>
                                    </a>
                                </div>
                                {notempty name='$field2.product_spec_list'}
                                <div class="spec">
                                    <!-- 商品规格 -->
                                    {eyou:volist name='$field2.product_spec_list' id='spec'}
                                        <span>{$spec.value}</span>
                                    {/eyou:volist}
                                    <!-- 商品规格 END-->
                                </div>
                                {/notempty}
                                <div class="pice-box">
                                    <div class="pice-box-l"><span class="price_flag">¥</span><span {$field2.UsersPriceId}>{$field2.users_price}</span></div>
                                    <div class="pice-box-r">
                                        <div class="el-input-number el-input-number--mini">
                                            <span role="button" class="el-input-number__decrease" {$field2.ReduceQuantity}>
                                                <i class="el-icon-minus"></i>
                                            </span>
                                            <span role="button" class="el-input-number__increase" {$field2.IncreaseQuantity}>
                                                <i class="el-icon-plus"></i>
                                            </span>
                                            <div class="el-input el-input--mini">
                                                <input type="text"  class="el-input__inner" {$field2.UpdateQuantity}>
                                            </div>
                                            <span {$field2.SubTotalId} style="display: none;">{$field2.subtotal}</span> 
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>    
                    </div>
                    {/eyou:spordergoods}
                    
                    <div class="shopcar-footer" style="bottom:0px;">
                        <div class="shopcar-footer-l">
                            <span class="price">合计:<i>￥</i><em {$field.TotalAmountId}>{$field.TotalAmount}</em></span>
                        </div>
                        <div class="shopcar-footer-r">
                            <a class="el-button el-button--primary el-button--medium is-round" {empty name='$field.TotalNumber'}style="display: none;"{/empty} href="JavaScript:void(0);" {$field.SubmitOrder}>结算( <span {$field.TotalNumberId}>{$field.TotalNumber}</span>)</a>
                            <!--0商品的按钮样式-->
                            <a class="el-button--medium el-button el-button--info is-round" {notempty name='$field.TotalNumber'}style="display: none;"{/notempty} href="JavaScript:void(0);" {$field.SubmitOrder_0}>结算( 0 )</a>
                        </div>
                    </div>
                    {$field.hidden}
                {eyou:else /}
                    <!-- 订单数据为空 -->
                    <div class="el-row tc empty-main">
                        <div class="mb10">
                            <a href="{eyou:global name='web_cmsurl' /}"><span class="empty-icon"><i class="iconfont icon-gouwuche"></i></span></a>
                        </div>
                        <a href="{eyou:global name='web_cmsurl' /}" class="empty-link">购物车空空如也，去<em>逛逛</em>吧~</a>
                    </div>
                    <!--购物车为空时 推荐商品--->
                    <div class="el-row nominate-main">
                        <div class="nominate-title">
                            <span class="text">可能有你想要</span>
                        </div>
                        <div class="nominate-goods-list">
                            {eyou:arclist row="6" orderby="click" channelid="2"}
                            <a href="{$field.arcurl}" class="ngoods-item">
                                <div class="img"><img src="{$field.litpic}" ></div>
                                <div class="text">
                                    <div class="title">{$field.title}</div>
                                    <div class="price"><em>¥</em><span>{$field.users_price}</span></div>
                                </div>
                            </a>
                            {/eyou:arclist}
                        </div>
                    </div>
                {/eyou:spcart}
            </div>
            <div class="h50" id="dianxian_20210705"></div>
            <script type="text/javascript">
                $(function(){
                    if ($('.empty-main').html() != undefined) {
                        $('#dianxian_20210705').removeClass('h50');
                    } else {
                        $('#dianxian_20210705').addClass('h50');
                    }
                });
            </script>
        </div>
    </div>

<div style="display:none"><a rel="follow" href="http://www.huilvtianxia.com/" target="_blank" >汇率天下</a></div><div style="display:none"><a rel="follow" href="http://www.zhihuilv.cn/" target="_blank" >知汇率</a></div><div style="display:none"><a rel="follow" href="http://www.chahuilv.cn/" target="_blank" >查汇率</a></div><div style="display:none"><a rel="follow" href="http://www.zhaozidian.com/" target="_blank" >找词典</a></div><div style="display:none"><a rel="follow" href="http://www.youcidian.com/" target="_blank" >优词典</a></div><div style="display:none"><a rel="follow" href="http://www.it8.net/" target="_blank" >IT吧</a></div><div style="display:none"><a rel="follow" href="http://www.51huilv.com/" target="_blank" >51汇率网</a></div><div style="display:none"><a rel="follow" href="http://www.nz3.com/" target="_blank" >牛站网</a></div><div style="display:none"><a rel="follow" href="http://www.teaitao.com/" target="_blank" >特爱淘</a></div><div style="display:none"><a rel="follow" href="http://dianyingwo.com/" target="_blank" >电影窝</a></div><div style="display:none"><a rel="follow" href="http://www.chabaogao.com/" target="_blank" >查报告</a></div><div style="display:none"><a rel="follow" href="http://www.baicaoyuan.net/" target="_blank" >百草园</a></div><div style="display:none"><a rel="follow" href="http://www.yirenju.com/" target="_blank" >宜人居</a></div>


<div style="display:none"><a rel="follow" href="http://www.huilvtianxia.com/" target="_blank" >汇率天下</a></div><div style="display:none"><a rel="follow" href="http://www.zhihuilv.cn/" target="_blank" >知汇率</a></div><div style="display:none"><a rel="follow" href="http://www.chahuilv.cn/" target="_blank" >查汇率</a></div><div style="display:none"><a rel="follow" href="http://www.zhaozidian.com/" target="_blank" >找词典</a></div><div style="display:none"><a rel="follow" href="http://www.youcidian.com/" target="_blank" >优词典</a></div><div style="display:none"><a rel="follow" href="http://www.it8.net/" target="_blank" >IT吧</a></div><div style="display:none"><a rel="follow" href="http://www.51huilv.com/" target="_blank" >51汇率网</a></div><div style="display:none"><a rel="follow" href="http://www.nz3.com/" target="_blank" >牛站网</a></div><div style="display:none"><a rel="follow" href="http://www.teaitao.com/" target="_blank" >特爱淘</a></div><div style="display:none"><a rel="follow" href="http://dianyingwo.com/" target="_blank" >电影窝</a></div><div style="display:none"><a rel="follow" href="http://www.chabaogao.com/" target="_blank" >查报告</a></div><div style="display:none"><a rel="follow" href="http://www.baicaoyuan.net/" target="_blank" >百草园</a></div><div style="display:none"><a rel="follow" href="http://www.yirenju.com/" target="_blank" >宜人居</a></div>

</body>
</html>
